package com.flyco.modules.stm.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.flyco.common.aspect.annotation.Dict;
import com.flyco.modules.stm.entity.StmReplenishmentItem;
import com.flyco.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: 门店要货明细
 * @Author: flyco
 * @Date:   2020-11-23
 * @Version: V1.0
 */
@Data
public class StmReplenishmentItemPage {

	/**id*/
	private Long id;
	/**补货单id*/
	private Long replenishmentId;
	/**商品id*/
	@Dict(dictTable ="pms_product",dicText = "name",dicCode = "id")
	private Long productId;
	/**商品货号*/
    @Excel(name = "商品货号", width = 15)
	private String productSn;
	/**补货数量*/
    @Excel(name = "补货数量", width = 15)
	private Integer productQty;
	/**库存类别*/
	@Excel(name = "库存类别", width = 15)
	@Dict(dicCode = "stock_type_replenishment")
	private String stockType;
	/**创建人*/
	private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**更新人*/
	private String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;
	/**店铺名称*/
	private String storeId_dictText;
	/**虚拟主键*/
	private String itemKey;

	private List<StmReplenishmentItem> children;
}
